package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CommentSupportInfo;
import cn.gdut.chengcai.entity.CommentSupportInfoExample;

public interface CommentSupportInfoDao {
	long countByExample(CommentSupportInfoExample example);

	int deleteByExample(CommentSupportInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CommentSupportInfo record);

	int insertSelective(CommentSupportInfo record);

	List<CommentSupportInfo> selectByExample(CommentSupportInfoExample example);

	CommentSupportInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CommentSupportInfo record,
			@Param("example") CommentSupportInfoExample example);

	int updateByExample(@Param("record") CommentSupportInfo record,
			@Param("example") CommentSupportInfoExample example);

	int updateByPrimaryKeySelective(CommentSupportInfo record);

	int updateByPrimaryKey(CommentSupportInfo record);
}